using Orchard.ContentManagement;

namespace Contrib.AppFabric.Models {
    public class AppFabricSettingsPart : ContentPart<AppFabricSettingsPartRecord> {
        public const string CacheKey = "AppFabricSettingsPart";

        public string CacheName {
            get { return Record.CacheName; }
            set { Record.CacheName = value; }
        }

        public int MaxiumumNumberOfErrorsUntilRetryCircle {
            get { return Record.MaxiumumNumberOfErrorsUntilRetryCircle; }
            set { Record.MaxiumumNumberOfErrorsUntilRetryCircle = value; }
        }

        public int SecondsToWaitInRetryCircle {
            get { return Record.SecondsToWaitInRetryCircle; }
            set { Record.SecondsToWaitInRetryCircle = value; }
        }
    }
}